<!doctype html>
<html lang="{{ app()->getLocale() }}">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta   http-equiv= "Pragma"   content= "no-cache" />
    <meta   http-equiv= "Cache-Control"   content= "no-cache" />
    <title>Laravel</title>

    <!-- Fonts -->
    <link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">

    <!-- Styles -->
    <style>
        html, body {
            background-color: #fff;
            color: #636b6f;
            font-family: 'Raleway', sans-serif;
            font-weight: 100;
            height: 100vh;
            margin: 0;
        }

        .full-height {
            height: 100vh;
        }

        .flex-center {
            align-items: center;
            display: flex;
            justify-content: center;
        }

        .position-ref {
            position: relative;
        }

        .top-right {
            position: absolute;
            right: 10px;
            top: 18px;
        }

        .content {
            text-align: center;
        }

        .title {
            font-size: 44px;
        }

        .links > a {
            color: #636b6f;
            padding: 0 25px;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: .1rem;
            text-decoration: none;
            text-transform: uppercase;
        }

        .m-b-md {
            margin-bottom: 30px;
        }
        .input {
            width: 350px;
            margin-bottom: 10px;
        }
        .left_span {
            width:80px;
            float:left;
        }
        input {
            color:#636b6f;
            padding:3px;
        }
    </style>
</head>
<body>
<div class="content">
    <div class="links">
        <a href="/">Index</a>
        <a href="/register">Register</a>
        <a href="/login">Login</a>
    </div>
</div>
<div class="flex-center position-ref full-height">
    <div class="content">
        <div class="title m-b-md">
            Login
        </div>
        <form action="/login" method="post" autocomplete="off">
        <div class="links">
            <div class="input">
                <span class="left_span">mobile</span>
                <input type="text" class="mobile" value="" name="mobile" autocomplete="off">
            </div>
            <div class="input">
                <span class="left_span">password</span>
                <input type="password" class="mobile" value="" name="password" autocomplete="off">
            </div>
            @if(isset($error))
            <div style="font-size:14px; margin-bottom:5px;"><span style="color:red;">*</span> {{ $error }} </div>
            @endif
        </div>
        <input type="submit" value="Login" class="login">
        </form>
    </div>

</div>
</body>
</html>
